/****************************************************************************
** Meta object code from reading C++ file 'srcQGraphicsView.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "srcQGraphicsView.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'srcQGraphicsView.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_srcQGraphicsView_t {
    QByteArrayData data[16];
    char stringdata0[158];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_srcQGraphicsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_srcQGraphicsView_t qt_meta_stringdata_srcQGraphicsView = {
    {
QT_MOC_LITERAL(0, 0, 16), // "srcQGraphicsView"
QT_MOC_LITERAL(1, 17, 14), // "leftButtonDown"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 14), // "mousePressMove"
QT_MOC_LITERAL(4, 48, 9), // "mouseMove"
QT_MOC_LITERAL(5, 58, 12), // "leftButtonUp"
QT_MOC_LITERAL(6, 71, 8), // "showRect"
QT_MOC_LITERAL(7, 80, 8), // "viewMenu"
QT_MOC_LITERAL(8, 89, 8), // "addPoint"
QT_MOC_LITERAL(9, 98, 9), // "addPoints"
QT_MOC_LITERAL(10, 108, 6), // "disMod"
QT_MOC_LITERAL(11, 115, 6), // "roiMod"
QT_MOC_LITERAL(12, 122, 7), // "dragMod"
QT_MOC_LITERAL(13, 130, 7), // "readMod"
QT_MOC_LITERAL(14, 138, 11), // "clearPoints"
QT_MOC_LITERAL(15, 150, 7) // "drawRoi"

    },
    "srcQGraphicsView\0leftButtonDown\0\0"
    "mousePressMove\0mouseMove\0leftButtonUp\0"
    "showRect\0viewMenu\0addPoint\0addPoints\0"
    "disMod\0roiMod\0dragMod\0readMod\0clearPoints\0"
    "drawRoi"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_srcQGraphicsView[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       3,    1,   87,    2, 0x06 /* Public */,
       4,    1,   90,    2, 0x06 /* Public */,
       5,    1,   93,    2, 0x06 /* Public */,
       6,    0,   96,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   97,    2, 0x0a /* Public */,
       8,    0,  100,    2, 0x0a /* Public */,
       9,    0,  101,    2, 0x0a /* Public */,
      10,    0,  102,    2, 0x0a /* Public */,
      11,    0,  103,    2, 0x0a /* Public */,
      12,    0,  104,    2, 0x0a /* Public */,
      13,    0,  105,    2, 0x0a /* Public */,
      14,    0,  106,    2, 0x0a /* Public */,
      15,    0,  107,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QPointF,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void srcQGraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        srcQGraphicsView *_t = static_cast<srcQGraphicsView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->leftButtonDown((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
        case 1: _t->mousePressMove((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
        case 2: _t->mouseMove((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
        case 3: _t->leftButtonUp((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
        case 4: _t->showRect(); break;
        case 5: _t->viewMenu((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
        case 6: _t->addPoint(); break;
        case 7: _t->addPoints(); break;
        case 8: _t->disMod(); break;
        case 9: _t->roiMod(); break;
        case 10: _t->dragMod(); break;
        case 11: _t->readMod(); break;
        case 12: _t->clearPoints(); break;
        case 13: _t->drawRoi(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (srcQGraphicsView::*_t)(QPointF );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&srcQGraphicsView::leftButtonDown)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (srcQGraphicsView::*_t)(QPointF );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&srcQGraphicsView::mousePressMove)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (srcQGraphicsView::*_t)(QPointF );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&srcQGraphicsView::mouseMove)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (srcQGraphicsView::*_t)(QPointF );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&srcQGraphicsView::leftButtonUp)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (srcQGraphicsView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&srcQGraphicsView::showRect)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject srcQGraphicsView::staticMetaObject = {
    { &QGraphicsView::staticMetaObject, qt_meta_stringdata_srcQGraphicsView.data,
      qt_meta_data_srcQGraphicsView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *srcQGraphicsView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *srcQGraphicsView::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_srcQGraphicsView.stringdata0))
        return static_cast<void*>(const_cast< srcQGraphicsView*>(this));
    return QGraphicsView::qt_metacast(_clname);
}

int srcQGraphicsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void srcQGraphicsView::leftButtonDown(QPointF _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void srcQGraphicsView::mousePressMove(QPointF _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void srcQGraphicsView::mouseMove(QPointF _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void srcQGraphicsView::leftButtonUp(QPointF _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void srcQGraphicsView::showRect()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
